.indexEditor {
  .botton_bg {
    @include discen;
  }
  .nav {
    height: 60px;
    background: $bg_color;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 $px_24;
    overflow: hidden;
    .left {
      display: flex;
    }
    .title {
      .img {
        height: 30px;
      }
      span {
        padding: 0 10px;
        @include ellipsis;
      }
      color: #ffffff;
      font-size: calc(#{$font_size} + 6px);
      @include discen;
    }
    .right_top-menu {
      @include discen_al;
      > div:hover > div * {
        cursor: pointer;
        color: #ffffff;
      }
      > div {
        padding-left: 20px;
        @include discen;
        i {
          font-size: 18px;
          color: rgba(255, 255, 255, 0.65);
        }
      }
    }
    .size_text {
      padding: 5px 0;
    }
    .notice {
      width: 400px;
      display: flex;
      justify-content: space-between;
      span:last-child {
        color: red;
      }
    }
    .user_avatar {
      padding-left: 20px;
      @include discen;
      .user_name {
        color: #ffffff;
        font-size: 14px;
        padding: 0 10px;
        color: rgba(255, 255, 255, 0.65);
      }
    }
  }
  width: 100%;
  min-width: 1440px;
  background: #404040;
  color: #ffffff;
  .drawerBotton {
    position: fixed;
    font-size: 14px;
    background: #000000;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 4px;
  }
  .drawerBotton:hover {
    cursor: pointer;
    background: #333333;
  }
}
.indexEditor::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}
.indexEditor::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}
.indexEditor::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
}
.indexEditor::-webkit-scrollbar-thumb:hover {
  background: #333;
}
.indexEditor::-webkit-scrollbar-corner {
  background: #179a16;
}
.indexEditor {
  background: #eaf2ed;
  height: 100%;
  overflow: scroll;
  .indexEditor_info:last-child {
    border: 0;
  }
  .indexEditor_info {
    width: 100%;
    min-width: 1440px;
    height: 1021px;
    padding: $px_24;
    border-top: 1px solid $bg_color;
    > .pages_one {
      display: flex;
    }

    .left {
      background: #ffffff;
      height: 973px;
      padding: 20px;
      border-radius: 4px;
      .left_text {
        height: 100%;
        width: 100%;
        background: $bg_colorTable;
        border: 1px dashed $bg_color;
        border-radius: 4px;
        @include discen;
        color: #000000;
        font-weight: 400;
      }
    }

    .center {
      width: 24px;
      height: 100%;
    }

    .right {
      height: 973px;
      border-radius: 4px;
      overflow: hidden;
      border: 1px solid $bg_colorTable;
      .add:hover {
        background: $bg-color;
        color: #ffffff;
      }

      .add {
        @include discen;
        border: 1px solid $bg_colorTable;
        box-shadow: 0px 0px 6px $bg_colorTable;
        border-radius: 4px;
        padding: 10px 10px;
        width: calc(100% - 20px);
        margin: 10px auto;
        color: $bg-color;
        i {
          padding-right: 5px;
        }
      }

      .item {
        position: relative;
        background: #ffffff;
        border-radius: 4px;
        overflow: hidden;
        border: 1px dashed $bg_color;
        box-shadow: 0px 0px 6px $bg_colorTable;
      }

      .item:first-child {
        padding: $px_24 $px_24 12px $px_24;
      }

      .item:nth-child(2) {
        padding: 12px $px_24 12px $px_24;
      }

      .item:nth-child(3) {
        padding: 12px $px_24 $px_24 $px_24;
      }

      .item_info {
        @include discen;
        background: $bg_colorTable;
        border: 1px dashed $bg_colorTable;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        position: relative;
      }
      .item_botton {
        @include discen_al;
        justify-content: flex-end;
        height: 50px;
        width: 100%;
        bottom: 0;
        position: absolute;
        .inebotton {
          color: #e52e2e;
          font-size: 16px;
          padding-right: 15px;
          i {
            padding-right: 5px;
          }
        }
        .inebotton_last {
          color: $bg_color;
        }
      }
      .inebotton:hover {
        cursor: pointer;
        opacity: 0.7;
      }
    }
  }
  .add_pages {
    padding: 0 $px_24 $px_24 $px_24;
    > div:hover {
      background: $bg-color;
      color: #ffffff;
    }
    > div {
      @include discen;
      background: #eaf2ed;
      border: 1px solid $bg_color;
      color: $bg-color;
      border-radius: 4px;
      height: 50px;

      i {
        padding: 4px 10px 0 0;
      }
    }
  }

  .new_pages > div {
    width: 100%;
  }

  .new_pages {
    border: 1px solid $bg_colorTable;
    height: 973px;
    //overflow: hidden;
    position: relative;

    .new_pages_bg {
      overflow: hidden;
      height: 973px;
    }
    .new_pages_botton:hover {
      opacity: 0.9;
    }
    .new_pages_botton {
      position: absolute;
      right: -10px;
      top: -20px;
      width: 110px;
      padding: 5px 10px;
      color: #ffffff;
      background-color: $botton_color_two;
      border: $botton_color_two 1px solid;
      border-radius: 4px;
      i {
        padding-right: 5px;
      }
    }

    .pages_col {
      display: flex;
      //justify-content: space-between;
    }

    .pages_item {
      background: #ffffff;
      height: 100%;
      padding: $px_24/2;
      position: relative;

      .pages_item_info {
        background-color: $bg_colorTable;
        border: $bg_color 1px dashed;
        width: 100%;
        height: 100%;
        border-radius: 4px;
        @include discen;
        color: #000000;
      }

      .pages_item_botton:hover {
        cursor: pointer;
        opacity: 0.8;
      }

      .pages_item_botton {
        position: absolute;
        right: 5px;
        bottom: 20px;
        @include discen;
        color: $bg_color;
        border-radius: 4px;
        padding: 5px 10px;
        width: 120px;
        font-size: 16px;
        i {
          padding-right: 5px;
        }
      }
    }
  }
  .pop {
    z-index: 2020;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /*兼容火狐*/
    .popBcontent {
      scrollbar-width: none;
    }

    .popBcontent {
      -ms-overflow-style: none;
    }

    .popBcontent::-webkit-scrollbar {
      display: none;
    }

    .popBcontent::-webkit-scrollbar {
      display: none;
    }
    .popBcontent {
      color: #000000;
      width: 400px;
      height: auto;
      max-height: 90vh;
      background: #ffffff;
      overflow-y: scroll;
      border-radius: 4px;
      padding-bottom: $px_24;
      .title {
        font-weight: bold;
        font-size: 16px;
        background: #f6f8fb;
        line-height: 50px;
        padding: 0 20px;
      }
      .input {
        @include discen;
        padding: $px_24;
        > div {
          padding-right: 10px;
          width: 100px;
        }
        .el-input {
          width: 240px;
        }
      }
      .popBbot {
        width: 160px;
        margin: 0 auto;
        line-height: 40px;
        text-align: center;
        background: #444444;
      }
      .popBbot:hover {
        cursor: pointer;
        background: #000000;
      }
    }
  }
  .indexEditor_bot {
    position: fixed;
    bottom: 30px;
    right: 10px;
    display: flex;
  }
}
.el-menu-item,
.el-submenu__title {
  font-size: calc(#{$font_size} + 2px);
  font-weight: 400;
}
